package com.polymorphic;

/**
 * 多态类型展示，BaseObject多态类所有类父类
 * */
public class BaseObject {
	
	private String name = "BaseObject";
	
	Integer id = 0;
	
	void play() {
		System.err.println("BaseObjectPlay");
	}
	
	public String getName() {
		return String.format("%s=>%s(id:%s)",name,"getName",id);
	}
	
}
